package cn.net.cfss.fgbp.gateway.common;

import lombok.extern.slf4j.Slf4j;
import org.springframework.http.server.reactive.ServerHttpRequest;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * bootstrap前端调用的验证码生成、验证接口
 */
@Slf4j
@RestController("FaceController")
public class FaceController {




    @GetMapping("/favicon.ico")
    public String kaptcha(ServerHttpRequest request) throws Exception {

        return "favicon.ico";

    }

}